package hanlp;

import com.hankcs.hanlp.HanLP;
import com.hankcs.hanlp.tokenizer.NLPTokenizer;

/**
 * Created by zhoub on 2021/7/14.
 */
public class SpliceWord {

    public static void main(String[] args){
        //标准分词
        System.out.println(HanLP.segment("3A4应该怎么修"));
        //NLP 分词
        System.out.println(NLPTokenizer.segment("3A4应该怎么修"));
        //关键词提取
        System.out.println(HanLP.extractKeyword("3A4应该怎么修",3));
    }
}
